from django.conf.urls.defaults import *

from djfacet.constants import *

#faceted browsing application
urlpatterns = patterns('djfacet.facetviews',
					   
	url(r'^$', 'home', name='facetedhome'),
	
	# ajax calls : TODO
	url(r'^update_results$', 'update_results', name='update_results'),
	url(r'^update_facet$', 'update_facet', name='update_facet'),
	url(r'^explain_results$', 'explain_results', name='explain_results'),
	url(r'^refresh_fbhistory$', 'refresh_fbhistory', name='refresh_fbhistory'),

	# for logging
	# url(r'^log_query$', 'log_query', name='log_query'),
	# for testing 
	# url(r'^'+prefix+'faceted/info_item$', 'info_item', name='info_item'),
	# url(r'^'+prefix+'faceted/stuff$', 'stuff'),
)

